package com.example.home.tool;

import java.util.List;

public class GeneralClass {

    private int commentNum;
    private String  orderNo;
    /**
     * isCollect : true
     */


    /**
     * isCollect : true
     */



    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }



    /**
     * activityId : 1
     * content : 我喜欢这个活动
     */

    private String guide;
    /**
     * total : 0
     * rows : []
     */

    private Integer total;
    private List<?> rows;

    public String getGuide() {
        return guide;
    }

    public void setGuide(String guide) {
        this.guide = guide;
    }

    private int activityId;
    private String content;
    private int code;
    /**
     * msg : 已报名
     * isSignup : true
     * id : 3
     */



    private String msg;
    private String fileName;
    private String url;
    private boolean isSignup;
    private int id;

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    /**
     *
     * appealCategoryId : 5
     * title : 测试诉求 001
     * undertaker : 大连市政府
     * imgUrl : /profile/abc.png
     *
     *
     */


    private Integer appealCategoryId;
    private String title;
    private String undertaker;
    private String imgUrl;

    private Integer newsId;

    public Integer getNewsId() {
        return newsId;
    }

    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public void setDonateMoney(double donateMoney) {
        this.donateMoney = donateMoney;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(int commentNum) {
        this.commentNum = commentNum;
    }


    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isIsSignup() {
        return isSignup;
    }

    public void setIsSignup(boolean isSignup) {
        this.isSignup = isSignup;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    private double donateMoney;

    public boolean isSignup() {
        return isSignup;
    }

    public void setSignup(boolean signup) {
        isSignup = signup;
    }

    public double getDonateMoney() {
        return donateMoney;
    }

    public void setDonateMoney(String donateMoney) {
        try {
            this.donateMoney = Double.parseDouble(donateMoney);
        } catch (NumberFormatException e) {
           e.printStackTrace();
        }
    }


    public Integer getAppealCategoryId() {
        return appealCategoryId;
    }

    public void setAppealCategoryId(Integer appealCategoryId) {
        this.appealCategoryId = appealCategoryId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUndertaker() {
        return undertaker;
    }

    public void setUndertaker(String undertaker) {
        this.undertaker = undertaker;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<?> getRows() {
        return rows;
    }

    public void setRows(List<?> rows) {
        this.rows = rows;
    }



}
